/**
 * #      528
 * 名称   按权重随机选择
 * 链接   https://leetcode-cn.com/problems/random-pick-with-weight
 * 题解   [58](https://leetcode-cn.com/problems/random-pick-with-weight/solution)
 * 通过率 45.8%
 * 难道   中等
 */

